package com.loong.user.model;

import com.loong.common.mybatis.entity.BaseEntity;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "user_manage_role")
public class ManageRole extends BaseEntity {
    /**
     * 部门id
     */
    @Column(name = "department_id")
    private Long departmentId;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 父级id
     */
    @Column(name = "parent_id")
    private Long parentId;

    /**
     * 角色名称
     */
    private String name;
}